package sso;

import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

import javax.annotation.Resource;
import javax.sql.DataSource;
import java.sql.Connection;
import java.sql.SQLException;

@SpringBootTest
public class Dbtest {
    @Resource
  private DataSource dataSource;

    @Test
    void testData() throws SQLException {
        Connection connection=dataSource.getConnection();
        System.out.println(connection);
    }

}
